code,
pre {
  color: var(--sea-code-color);
  background: 0 0;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: .875rem;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

code ::-moz-selection,
code::-moz-selection,
pre ::-moz-selection,
pre::-moz-selection {
  background: var(--sea-code-selection);
}

code ::selection,
code::selection,
pre ::selection,
pre::selection {
  background: var(--sea-code-selection);
}

pre {
  padding: 1em;
  margin: .5em 0;
  overflow: auto;
  background: var(--sea-pre-code-bg);
}

:not(pre)>code {
  padding: 0.15em 0.4em;
  border-radius: .3em;
  white-space: normal;
  background: var(--sea-code-bg);
}

/*
 * line number
 */
pre.line-numbers {
  position: relative;
  padding-left: 3.8em;
  counter-reset: linenumber;
}

pre.line-numbers>code {
  position: relative;
  white-space: inherit;
}

.line-numbers .line-numbers-rows {
  position: absolute;
  pointer-events: none;
  top: 0;
  font-size: 100%;
  left: -3.8em;
  width: 3em;
  letter-spacing: -1px;
  border-right: 1px solid #999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.line-numbers-rows>span {
  display: block;
  counter-increment: linenumber;
}

.line-numbers-rows>span:before {
  content: counter(linenumber);
  color: #999;
  display: block;
  padding-right: .8em;
  text-align: right;
}

/* PrismJS 1.29.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript&plugins=line-numbers */
html[theme=light] {
  .token.cdata,
  .token.comment,
  .token.doctype,
  .token.prolog {
    color: #708090
  }

  .token.punctuation {
    color: #999
  }

  .token.namespace {
    opacity: .7
  }

  .token.boolean,
  .token.constant,
  .token.deleted,
  .token.number,
  .token.property,
  .token.symbol,
  .token.tag {
    color: #905
  }

  .token.attr-name,
  .token.builtin,
  .token.char,
  .token.inserted,
  .token.selector,
  .token.string {
    color: #690
  }

  .language-css .token.string,
  .style .token.string,
  .token.entity,
  .token.operator,
  .token.url {
    color: #9a6e3a;
  }

  .token.atrule,
  .token.attr-value,
  .token.keyword {
    color: #07a
  }

  .token.class-name,
  .token.function {
    color: #dd4a68
  }

  .token.important,
  .token.regex,
  .token.variable {
    color: #e90
  }

  .token.bold,
  .token.important {
    font-weight: 700
  }

  .token.italic {
    font-style: italic
  }

  .token.entity {
    cursor: help
  }
}

/* PrismJS 1.29.0
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript&plugins=line-numbers */
html[theme=dark] {
  .token.block-comment,
  .token.cdata,
  .token.comment,
  .token.doctype,
  .token.prolog {
    color: #999
  }

  .token.punctuation {
    color: #ccc
  }

  .token.attr-name,
  .token.deleted,
  .token.namespace,
  .token.tag {
    color: #e2777a
  }

  .token.function-name {
    color: #6196cc
  }

  .token.boolean,
  .token.function,
  .token.number {
    color: #f08d49
  }

  .token.class-name,
  .token.constant,
  .token.property,
  .token.symbol {
    color: #f8c555
  }

  .token.atrule,
  .token.builtin,
  .token.important,
  .token.keyword,
  .token.selector {
    color: #cc99cd
  }

  .token.attr-value,
  .token.char,
  .token.regex,
  .token.string,
  .token.variable {
    color: #7ec699
  }

  .token.entity,
  .token.operator,
  .token.url {
    color: #67cdcc
  }

  .token.bold,
  .token.important {
    font-weight: 700
  }

  .token.italic {
    font-style: italic
  }

  .token.entity {
    cursor: help
  }

  .token.inserted {
    color: green
  }
}